package jsu.lipengcheng.trafficnet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jsu.lipengcheng.trafficnet.pojo.News;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface NewsMapper extends BaseMapper<News> {

    @Select("select count(id) from news")
    int selectsum();
}
